package cn.com.agree.order.enums;

import lombok.Getter;

/**
 * Descriptions...
 *
 * @author sun.ys
 * @date 2020/8/23.
 */
@Getter
public enum ResultEnum {
    
    PARAM_ERROR(1, "参数错误"),
    CART_EMPTY(2, "购物车为空");
    
    private Integer code;
    
    private String message;
    
    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
